

/* First created by JCasGen Thu Dec 11 21:29:44 GMT 2008 */
package org.idtem.component.freeling;

import org.apache.uima.jcas.JCas; 
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.jcas.cas.TOP_Type;

import org.apache.uima.jcas.tcas.Annotation;
import org.apache.uima.jcas.cas.StringArray;


/** 
 * Updated by JCasGen Mon Nov 09 23:03:54 UYST 2009
 * XML source: C:/Users/Usuario/Documents/Repositorio/Source/worlspace/Freeling2/desc/Freeling2TypeSystemDescriptor.xml
 * @generated */
public class Freeling2 extends Annotation {
  /** @generated
   * @ordered 
   */
  public final static int typeIndexID = JCasRegistry.register(Freeling2.class);
  /** @generated
   * @ordered 
   */
  public final static int type = typeIndexID;
  /** @generated  */
  public              int getTypeIndexID() {return typeIndexID;}
 
  /** Never called.  Disable default constructor
   * @generated */
  protected Freeling2() {}
    
  /** Internal - constructor used by generator 
   * @generated */
  public Freeling2(int addr, TOP_Type type) {
    super(addr, type);
    readObject();
  }
  
  /** @generated */
  public Freeling2(JCas jcas) {
    super(jcas);
    readObject();   
  } 

  /** @generated */  
  public Freeling2(JCas jcas, int begin, int end) {
    super(jcas);
    setBegin(begin);
    setEnd(end);
    readObject();
  }   

  /** <!-- begin-user-doc -->
    * Write your own initialization here
    * <!-- end-user-doc -->
  @generated modifiable */
  private void readObject() {}
     
 
    
  //*--------------*
  //* Feature: word

  /** getter for word - gets 
   * @generated */
  public String getWord() {
    if (Freeling2_Type.featOkTst && ((Freeling2_Type)jcasType).casFeat_word == null)
      jcasType.jcas.throwFeatMissing("word", "org.idtem.component.freeling.Freeling2");
    return jcasType.ll_cas.ll_getStringValue(addr, ((Freeling2_Type)jcasType).casFeatCode_word);}
    
  /** setter for word - sets  
   * @generated */
  public void setWord(String v) {
    if (Freeling2_Type.featOkTst && ((Freeling2_Type)jcasType).casFeat_word == null)
      jcasType.jcas.throwFeatMissing("word", "org.idtem.component.freeling.Freeling2");
    jcasType.ll_cas.ll_setStringValue(addr, ((Freeling2_Type)jcasType).casFeatCode_word, v);}    
   
    
  //*--------------*
  //* Feature: lema

  /** getter for lema - gets 
   * @generated */
  public String getLema() {
    if (Freeling2_Type.featOkTst && ((Freeling2_Type)jcasType).casFeat_lema == null)
      jcasType.jcas.throwFeatMissing("lema", "org.idtem.component.freeling.Freeling2");
    return jcasType.ll_cas.ll_getStringValue(addr, ((Freeling2_Type)jcasType).casFeatCode_lema);}
    
  /** setter for lema - sets  
   * @generated */
  public void setLema(String v) {
    if (Freeling2_Type.featOkTst && ((Freeling2_Type)jcasType).casFeat_lema == null)
      jcasType.jcas.throwFeatMissing("lema", "org.idtem.component.freeling.Freeling2");
    jcasType.ll_cas.ll_setStringValue(addr, ((Freeling2_Type)jcasType).casFeatCode_lema, v);}    
   
    
  //*--------------*
  //* Feature: eagles

  /** getter for eagles - gets 
   * @generated */
  public String getEagles() {
    if (Freeling2_Type.featOkTst && ((Freeling2_Type)jcasType).casFeat_eagles == null)
      jcasType.jcas.throwFeatMissing("eagles", "org.idtem.component.freeling.Freeling2");
    return jcasType.ll_cas.ll_getStringValue(addr, ((Freeling2_Type)jcasType).casFeatCode_eagles);}
    
  /** setter for eagles - sets  
   * @generated */
  public void setEagles(String v) {
    if (Freeling2_Type.featOkTst && ((Freeling2_Type)jcasType).casFeat_eagles == null)
      jcasType.jcas.throwFeatMissing("eagles", "org.idtem.component.freeling.Freeling2");
    jcasType.ll_cas.ll_setStringValue(addr, ((Freeling2_Type)jcasType).casFeatCode_eagles, v);}    
   
    
  //*--------------*
  //* Feature: offsets

  /** getter for offsets - gets 
   * @generated */
  public StringArray getOffsets() {
    if (Freeling2_Type.featOkTst && ((Freeling2_Type)jcasType).casFeat_offsets == null)
      jcasType.jcas.throwFeatMissing("offsets", "org.idtem.component.freeling.Freeling2");
    return (StringArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((Freeling2_Type)jcasType).casFeatCode_offsets)));}
    
  /** setter for offsets - sets  
   * @generated */
  public void setOffsets(StringArray v) {
    if (Freeling2_Type.featOkTst && ((Freeling2_Type)jcasType).casFeat_offsets == null)
      jcasType.jcas.throwFeatMissing("offsets", "org.idtem.component.freeling.Freeling2");
    jcasType.ll_cas.ll_setRefValue(addr, ((Freeling2_Type)jcasType).casFeatCode_offsets, jcasType.ll_cas.ll_getFSRef(v));}    
    
  /** indexed getter for offsets - gets an indexed value - 
   * @generated */
  public String getOffsets(int i) {
    if (Freeling2_Type.featOkTst && ((Freeling2_Type)jcasType).casFeat_offsets == null)
      jcasType.jcas.throwFeatMissing("offsets", "org.idtem.component.freeling.Freeling2");
    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Freeling2_Type)jcasType).casFeatCode_offsets), i);
    return jcasType.ll_cas.ll_getStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Freeling2_Type)jcasType).casFeatCode_offsets), i);}

  /** indexed setter for offsets - sets an indexed value - 
   * @generated */
  public void setOffsets(int i, String v) { 
    if (Freeling2_Type.featOkTst && ((Freeling2_Type)jcasType).casFeat_offsets == null)
      jcasType.jcas.throwFeatMissing("offsets", "org.idtem.component.freeling.Freeling2");
    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Freeling2_Type)jcasType).casFeatCode_offsets), i);
    jcasType.ll_cas.ll_setStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Freeling2_Type)jcasType).casFeatCode_offsets), i, v);}
   
    
  //*--------------*
  //* Feature: prob

  /** getter for prob - gets 
   * @generated */
  public String getProb() {
    if (Freeling2_Type.featOkTst && ((Freeling2_Type)jcasType).casFeat_prob == null)
      jcasType.jcas.throwFeatMissing("prob", "org.idtem.component.freeling.Freeling2");
    return jcasType.ll_cas.ll_getStringValue(addr, ((Freeling2_Type)jcasType).casFeatCode_prob);}
    
  /** setter for prob - sets  
   * @generated */
  public void setProb(String v) {
    if (Freeling2_Type.featOkTst && ((Freeling2_Type)jcasType).casFeat_prob == null)
      jcasType.jcas.throwFeatMissing("prob", "org.idtem.component.freeling.Freeling2");
    jcasType.ll_cas.ll_setStringValue(addr, ((Freeling2_Type)jcasType).casFeatCode_prob, v);}    
  }

    